CMS-2784 Auto-detect generation of Element.id

- renamed ElementManager to ElementRegistry