Support for MongoDB ids