private String getColumnName(TableColumn column) {
		TableModel tableModel = table.getUnwrappedTableModel();
		if (tableModel instanceof VariableColumnTableModel) {
			VariableColumnTableModel variableTableModel = (VariableColumnTableModel) tableModel;
			return variableTableModel.getUniqueIdentifier(column.getModelIndex());
		}
		return column.getHeaderValue().toString();
	}
Gets the most unique identifier possible for a given column.
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/TableColumnModelState.java