Support uuid-based automatic ids instead of Mongo's ObjectID with the 'use_uuid'=true setting