Set model.id if attributes contain a parsed version of idAttribute #1760
This ensures that
This is a followup to the previous PR that needed some changes but its author didn't respond.
This is almost identical to the previous PR, except that it doesn't store the parsed id attribute when extending the model but instead parses it when it's actually needed. This ensures that the parsed
This PR also doesn't include the exception when not all relations can be retrieved since it wasn't clear what the purpose of that code was.