Fix multi-dimensional arrays by only reading the array identifier before
the first bracket.