auto create MongoId object if not defined