export ObjectId function