get_primary_identifier()
Get the primary identifier for an entity.
prefix (str) – The name of the resource
str
identifier (str) – The identifier to look up
the canonical identifier based on alt id lookup
Returns the original identifier if there are no alts available or if there’s no mapping.