Set primary keys for nonstandard tables (all of them).