lookupEntityId

public abstract Identifier lookupEntityId(Entity entity)(source)

Finds the ID of the given entity in the registry.