rackerlabs/wadl-tools — pull request #99 by shintasmith (2014-04-23 13:29:37+00:00)
Title: fix issue of duplicate method id when multiple resources of different rax:roles share a method

This might also be related to issue #18. But my particular issue is related to when we combined all the various role-based WADLs we have into one single WADL using rax:roles.

Our main WADL looks like this:
```

...

...

```
The file ```wadl/feed.wadl``` contains:
```

...

tenant ID

...

```
Notice that ```resource_type id="AtomFeed"``` and ```resource_type id="TenantAtomFeed"``` share a reference to ```method href="#getFeed```.

The normalized WADL generates methods with duplicate ids: ```backup_events_getFeed```.

This PR attempts to fix it. For the most part, I got the correct method id generated:
```

...

...

...

...
```
But notice the resource id has "service-admin" duplicated. Can someone help me fix the resource id?

I've checked in the wadl to be normalized here:
https://github.com/shintasmith/standard-usage-schemas/blob/B-65259_rax_roles/allfeeds.wadl