# Functions
DoesSubscriptionIDMatch takes a subscription ID from the database, and compares it with the subscriptionID parameter.
ValidateLabelsPresence makes sure that only profiles that belong to a subscription bundle have labels.
ValidateLabelsUpdate ensures that labels cannot be updated.
ValidateNamespacedNameRules takes a name for a new profile, rule type or data source and asserts that: A) If the subscriptionID is empty, there name should not be namespaced B) If subscriptionID is not empty, the name must be namespaced This assumes the name has already been validated against the other validation rules for profile, rule type and data source names.