public function hydrateEntity($entityName, $identifier) {
    return $this->getDoctrinePackage()->getRepository(
      $this->getDoctrinePackage()->getModule()->getEntityName($entityName)
    )->hydrate($identifier);
  }