The ability to add custom HTML attributes to Perspective components would allow for powerful customization.
A suggestion for handling this safely: emit the data attributes with a designated namespace (data-pcd-*, for example). The designer UI should make it clear that the prefix will be included with the attribute.