Modeling Social Annotation: a Bayesian Approach