Implement support for arrays for the indexer operator.

Fixes #6182