Extended _id field checking

Check if _id field is of ObjectID type.