def get_bookmarks_slug_for(instance):
    """Returns the slug for a bookmark menu valid for the given model instance.
    """
    kls = instance.__class__
    return "%s_%d_bookmarks" % (kls.__name__.lower(), instance.pk)