Finite- and Large-sample Inference for Ranks Using Multinomial Data with an Application to Ranking Political Parties