code: private static int setID(String prefix, int identifier, IChemObject object, List<String> tabuList) {
          identifier += 1;
          while (tabuList.contains(prefix + identifier)) {
              identifier += 1;
          }
          object.setID(prefix + identifier);
          tabuList.add(prefix + identifier);
          return identifier;
      }
docs: Sets the ID on the object and adds it to the tabu list.
  
  @param object   IChemObject to set the ID for
  @param tabuList Tabu list to add the ID to