@Override
	public void setFieldName(String name) throws DuplicateNameException {
		if (record != null) {
			String fieldName = cleanupFieldName(name);
			record.setString(ComponentDBAdapter.COMPONENT_FIELD_NAME_COL, fieldName);
			updateRecord(true);
		}
	}
Get record key
@return record key or -1 for undefined component without a record
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/DataTypeComponentDB.java