Improve model primaryKey attribute accessor
Improve model primaryKey attribute accessor

* Add a check to ensure we can parseInt the pkey value without degrading it
* This resolves issues where the pkey is a string such as '00000' getting parseInt to '0'

Closes #442.

getshuvo/batman,getshuvo/batman