Commuting Pairs in Groups and Associated Probabilities