code: public int getNamespaceType(final int nodeHandle)
    {
  
      int identity = makeNodeIdentity(nodeHandle);
      int expandedNameID = _exptype(identity);
  
      return m_expandedNameTable.getNamespaceID(expandedNameID);
    }
docs: Returns the namespace type of a specific node
  @param nodeHandle the id of the node.
  @return the ID of the namespace.