Primary key

Updated the rspec tests according to your comments. However, when I added the multilevel test, I did not see the need to update the implementation as you had suggested.