Document the contract of dom.byId