Add xml:ids to resources

Add xml:ids to resources. This is a new requirement that has to do with
the generation of PDFs from WADL files – without this, the paths are
not unique across WADL files

Change-Id: I94fcc00d5325a723a4e100e612933f02dcef3311
Related-Bug: #1275007
Merge "Add xml:ids to resources"