updated rest handling in function blocks

- a rest parameter is getting transformed to 'arguments' in the function
block for it's identifer