Toward a theory of comparison: The case of comparative midrash