Handle aliasing of variables