Allow lookup of ratings by PK or slug (bug 855887)