code: protected String getNumberedName(String name, int number) {
  
          if (number == 0) {
              return name;
          }
          PrintfFormat fmt = new PrintfFormat("%0.6d");
          return name + "_" + fmt.sprintf(number);
      }
docs: Adds a numeric suffix to the end of a string, unless the number passed as a parameter is 0.<p>
  
  @param name the base name
  @param number the number from which to form the suffix
  
  @return the concatenation of the base name and possibly the numeric suffix