private String generateInstanceName(String toolName, PluginTool tool) {
		List<PluginTool> list = namesMap.get(toolName);
		if (list.size() <= 1) {
			return "";
		}

		PluginTool lastTool = list.get(list.size() - 2);	// the last one is the one we just added above
		String instanceName = lastTool.getInstanceName();
		if (instanceName.length() == 0) {
			return "2";
		}

		int n = Integer.parseInt(instanceName);
		return "" + (n + 1);
	}
Generate an instance name in the form
of a one-up number.
Ghidra/Framework/Project/src/main/java/ghidra/framework/project/tool/ToolManagerImpl.java