Allow custom _id value type in mongoengine backend