Id attribute

* added support for the id attribute in templates 
* fixed the error at startup
* added the option to navigate from template to data field