Change casse ID to id
Redesign of the code :
Entity structure simplified, template Twig simplified
Integration of ternary relationships