Ive simplified this entire method.
I thought this to be a first step to replacing the existing SSA transform for array indexing, however ill do it in smaller steps.

Right now, the function just does 2 things
1. retrieve the array indices from the identifier/functioncall/identlist 
2. Apply SSA to it.