CMS-2784 Auto-detect generation of Element.id

- created ElementManager