Easily extensible numeric base converter