Dynamically determine KEY column name as it may differ for some tables