The nodeID is an internal unique identifier for a node.
To retrieve it, use:
var strNodeID = objNode.nodeID;