Use slug instead of id for product_class in URL

This gives more readable URLs.