chickadee » 9p » make-qid

(make-qid type version path) procedure

Finally, you can check if an object is a QID object with the qid? predicate: