method BaseRepository.prototype.coerceId BaseRepository.prototype.coerceId(id: Id): EntityKey Cast the entity id to the type the adapter expects. Parameters id: Id Return Type EntityKey