code: def uniqueNodeName( self, name ):
          
          nodenames   = []
          for node in self.items():
              if ( isinstance(node, XNode) ):
                  nodenames.append( node.objectName() )
          
          basename    = nativestring(name)
          index       = 1
          name        = basename
          
          while ( name in nodenames ):
              name = '%s%02i' % (basename, index)
              index += 1
          
          return name
docs: Looks up the next available name for the inputed node name.
          
          :param      name    <str>