Fixed #23167 - Add __repr__ to BaseForm

Thanks kezabelle for the idea