Need a way to figure out the primary key. Might also need to check if the primary key is a set of fields and not just a single field.