Inferences on Mixing Probabilities and Ranking in Mixed-Membership Models