Resolve primary key columns by key instead of name.
Merge pull request #8 from Scrimmage/change-header-pk-resolution

resolve primary key columns by key instead of name