public function isIdentifier($fieldName) { return $this->entityIdMetadata->getPropertyName() === $fieldName; }