function getNamespaceFromTerm(term) {
	const match = term.match(NAMESPACE_REGEX);

	return match ? match[0] : "";
}
Gets the scope (namespace) of a term.
@param {string} term The term which may have the namespace.
@returns {string} The namespace of the term if it has one.