@classmethod
def get_route(klass, id=None):
    """
        Returns the route to the object for id if specified

        """
    if id is not None:
        return '{}{}/{}{}'.format(klass.quanta.site_route, klass.BASE_ROUTE,
            id, klass.ROUTE_SUFFIX)
    else:
        return '{}{}{}'.format(klass.quanta.site_route, klass.BASE_ROUTE,
            klass.ROUTE_SUFFIX)
