If I remember correctly, if you want to specialize, they have like HIGH pass, Pass, and Low pass, and of course FAIL. Then if you do a really good job, I think the staff will give you a letter or something? I don't remember the exact detail but I think that's how UCSF will distinguish students if one wants to specialize.
Someone correct me if I am wrong.