generate BsonField.Index in field phase; simplify a bit