Patch to support array indexing using symbols

Removes
;; TODO: patch this function so that symbolic indexing works out as opposed
;;       to the numeric indexing which it expects at present. this will
;;       probably involve migrating some of the indexing code in here to
;;       escape complecting the type system with performing AST generation.