This allows us to support parsing and serializing BigIntegers to and from any base N (such that 2 <= N <= 36).