code: protected short _type(int identity)
    {
  
      int info = _exptype(identity);
  
      if (NULL != info)
        return m_expandedNameTable.getType(info);
      else
        return NULL;
    }
docs: Get the simple type ID for the given node identity.
  
  @param identity The node identity.
  
  @return The simple type ID, or DTM.NULL.