duplicate nav items names get same url

Clicking on Comments in the GitHub API Main Nav menu will add the active class to both Gists/Comments and Issues/Comments.


This could be condensed to:

```JavaScript
var slug = resource.slug;

if (_.isUndefined(slug)) {
    slug = component.slugify(resource.name);
}
```