Rename getVariable(..)/buildStm(..) -> translate(..)

It's a better name since that's what they do: Translate stuff.