You may have noticed this feature by now, and I'll give some details of how it all works here.
Badges are tied into trophy points, which you earn by posting, getting ratings, and so on.
More trophy points = more badges. More badges = higher level
If you go to your profile and select the Badges...