If you're referring to Orbeon's document id, and you can use JavaScript in your own page, then use the following function call.
ORBEON.xforms.Document.getValue("fr-parameters-instance-document")
This will return a string, e.g. "4a1ae3c34a8e14e70c8fc3a02234a847d13896a9".