A function which loads an Entity by ID from its real repository.
Entity
the type of Entity identifiers
the type of entity