Fixed replacing _id property when using the memory engine

idProperty option was not taking effect when using the memory engine, such a simple error but cost me 2 hours at a hackathon thinking it was something that I was doing :)