Make array refs part of the variable name

This changes is so that manifests like `$foo[bar]` gets tokenised as a single `:VARIABLE` token rather than an array of [`:VARIABLE`, `:LBRACK`, `:NAME`, `:RBRACK`].