Support for referring to plugins and themes by slug

Plugins and themes are getting slugs. This will make it easier to refer to a canonical version.