DataView and meta data

Is there any way that I can attach meta data to a dataview item? i.e. I want to attach my own id to the item and get that id when I select the dataview item.

Thanks,
Matt

You can have as many custom properties as you need. All attributes from xml|json will be preserved and can be retrieved as

dataview.get(id).name_of_attribute