Fix issue when the model have an custom id

Fix issue when the model have an custom id

like :  myModel.js
```javascript
module.exports = {

  	tableName: 'Mytable',
 	adapter: 'main',

  	attributes: {
	  	id: {
	  		type : 'integer',
 			columnName: 'MyCustomIdColumn'
 	  	},
```