don't look for primary key on table scope actions

it's not used, and can cause errors
Merge pull request #7 from FriendsOfCake/scope-aware

don't look for primary key on table scope actions