Add support for index of field in operator [].