docs: private String getUniqueTemplateName(String name, String ext) {
  		if (this.getTreeModel().getTemplate(name) == null) {
  			// Its unique
  			return name;
  		}
  		// Its not unique, add a suitable index...
  		String stub = name.substring(0, name.length() - ext.length() - 1);
  		int index = 1;
  		do {
  			index++;
  			name = stub + "(" + index + ")." + ext;
  		}
  		while (this.getTreeModel().getTemplate(name) != null);
  		
  		return name;
  	}