CFElements: restore support for legacy sequences
Removing the support for legacy sequences in !70309 (merged) was premature as we still need to support them for Generators and to some extent analysis.
Replace the use of .name
(which only works for GaudiConfig2) with
getName()
that works for both legacy and new Configurables.