Assign primary key to new models

Looks like somewhere in Rails 3 the primary key for a model
became configurable and stopped defaulting to id.