CMS-2784 Auto-detect generation of Element.id

- removed generateId everywhere