dom/element: fix #id=