More intelligently find locals when assigning, looping, excepting.