Allow custom _id value type in mongoengine backend

By default, the _id type converter is `bson.ObjectId`, If using integer type, when delete a document through selecting a checkbox way, it will fail with a `bson.errors.InvalidId` exception.

So it's better let developer custom a converter to convert the type.

Silimiar to #217 for pymongo backend.