code: public int getTileSetId (String setName)
          throws NoSuchTileSetException, PersistenceException
      {
          waitForBundles();
          Integer tsid = _namemap.get(setName);
          if (tsid != null) {
              return tsid.intValue();
          }
          throw new NoSuchTileSetException(setName);
      }
docs: documentation inherited from interface