[Polar] Support indexing syntax

unspecified sum · Under review · osohq/oso