Remove the possibility of memoisation clashes with non-objects if a user manually sets the _id_ property.