Convert numbers into and out of any base in Ruby; avoid ambiguous characters like 1, l, and I!