id to mongoid fix