Converts access to an indexed value via [] to an equivalent .getAt() or .setAt() call.