add support for ObjectId using a function: id('...')