Rename expression index variable appropriately.