getId

abstract fun getId(entity: T): String

Extracts the unique identifier from an entity instance.