long obtainStringID(String value) throws IOException {
		Field[] records = table.findRecords(new StringField(value), STRING_VALUE_COL);
		if (records == null || records.length == 0) {
			// create
			long key = UniversalIdGenerator.nextID().getValue();
			DBRecord record = SCHEMA.createRecord(key);
			record.setString(STRING_VALUE_COL, value);
			table.putRecord(record);
			return key;
		}
		return records[0].getLongValue();
	}
Lookup existing ID or create new ID (if not present) for String value.
@param value the string value
@return the interned string primary key
@throws IOException if the database has a problem
Ghidra/Features/FunctionID/src/main/java/ghidra/feature/fid/db/StringsTable.java