Custom id and data properties can be set on any widgets. These properties then can be extracted from the screen XML file using your own or 3rd party tools.
To set custom properties use the Custom Properties… action from the Context Menu.
Next: Working with Storyboards