Fix possible conflicts in generated :mod:`tkinter` widget names if the widget class name ends with a digit.