Fixing 'identifier' being stored as the raw value of the 'id' rather than being wrapped in an object

Continuation of a fix outlined in [pull request 656](https://github.com/sequelize/sequelize/pull/656)
Merge pull request #660 from echong/master

Fixing 'identifier' being stored as the raw value of the 'id' rather than being wrapped in an object