Templates like admin.html/pug are missing id property.
Is that intentional?
Element properties like id, data, ... has almost nothing to do with styling and if user/programmer wants to add them, it should be always possible no matter if defined in the template or not.
This is a feature request to introduce some special template parameter like {$implicit_props} which can be easily added to all templates and then the common html properties can be added with one centralized code from View. Another option might be to always parse the template and set the common properties by DOM (which is not easy, as templates might not be always be valid html).