fixed getId in MongoDataSource