For ER macros, store renamed variables in useEnv so multiple invocations of rename for the same variable will rename it consistently.