Utility for converting numbers to different bases/alphabets.