Closes issue #107

Fixes bug that forced sub-resource PK's to be 'id'