I never got ID-ed, I also just asked my boyfriend how often the police checks upon people, and he told me only when you drive!! For example during the lei seca (alcohol prohibition check for drivers, usually around midnight), or during favela parties or trips a lot because a lot of drugs are involved, a lot of tourists usually buy drugs in favelas (the slums).