Fix discovery of id property

- Fix discovery of model properties with id:true.
- Extract method `ModelProperty.getDataFromConfig`, call it from `DataSourceDefinition.prototype.createModel`.

See also #175

/to @ritch please review