Comparative reasoning in legal adjudication