glsl: again cheat here and just implement arrays as one dimensional for the time being
glsl: create full array name with all dimensions
glsl: fix type and call correct alloc function