Added method `CollectionGateway::idToFilter()`
Also accepts Mongo document as id