Sneaky but you can casually linger in the car for an extra second; most drivers rate you right as you're getting out, with a phone that's usually mounted within eyeshot of passenger seats.
The ones who will give you 5 stars usually do it right away in front of you; if they seem weirdly secretive about it, you're probably not getting 5 stars.