ivy: input and output bases
Finally found a model I like: if an identifier could be a number,
treat it as a number.