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: Idb0e6aa8e94bc9731c712134c573c5f2e76aef6a
Related-Bug: #1275007