dom/IdMixin for encapsulating dom-id stuff