private void insertRecord(long id, String value) {
		while (idMap.size() >= maxLoaded) {
			purgeString();
		}
		StringRecord rec = new StringRecord();
		insertAtEnd(rec);
		rec.id = id;
		rec.value = value;
		stringMap.put(value, rec);
		idMap.put(Integer.valueOf((int) id), rec);
	}
Replace '#' character in the -ptr- command with our -name- and return the string
@param ptr is the string to be modified
@return the modified string
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/client/tables/SQLStringTable.java