Add and test numToId for easy conversions.