Use backing objects ID's when looking for backing object.

When inserting objects, if we are going to search the backing context for existing objects, we need to use the objectID from the backing context.

This was especially troublesome in cases where an object has no identifier until the server responds. In some cases, if the server responds with an identifier that is already known locally, objects with duplicate ID's would be created.