Document.requireElementById

SomeElementType requireElementById(SomeElementType = Element)(string id, string file = __FILE__, size_t line = __LINE__) if( is(SomeElementType : Element))

ditto