Move variable naming stuff to a common place.