code: public int getExpandedTypeID(String namespace, String localName, int type) {
             // Create expanded name
            // %TBD% jjk Expanded name is bitfield-encoded as
            // typeID[6]nsuriID[10]localID[16]. Switch to that form, and to
            // accessing the ns/local via their tables rather than confusing
            // nsnames and expandednames.
             String expandedName = namespace + ":" + localName;
             int expandedNameID = m_nsNames.stringToIndex(expandedName);
  
             return expandedNameID;
          }
docs: Given an expanded name, return an ID.  If the expanded-name does not
  exist in the internal tables, the entry will be created, and the ID will
  be returned.  Any additional nodes that are created that have this
  expanded name will use this ID.
  
  @return the expanded-name id of the node.