EZP-23317 Improve Twig helper for getting FieldDefinition name