Add methods ::toId(...) and ::exists(...)