`return in_array($event->getParam('name'), $identifiers) && $metadata->generatorType === ClassMetadata::GENERATOR_TYPE_IDENTITY;`