get_primary_identifier

get_primary_identifier(reference, /, **kwargs)[source]

Get the primary identifier for an entity.

Parameters:
Returns:

the canonical identifier based on alt id lookup

Return type:

str

Returns the original identifier if there are no alts available or if there’s no mapping.