pack: support numbered format strings.