The tag
property is available on all forms and all components, and it’s the right tool if you want to attach any kind of info to any kind of component.
But for a form you can just add a member to the form class. That’s what you commonly do in the __init__
of a form, and it will also appear in the auto complete (with the known limitations).
Another ways to manage globals is using a module.