generator.py warns when two elements have the same ID