Fix bug for Models with different idAttributes returned from Collection#model function

We don't want to instantiate a new model every time this function is called.