Anthropology of law: a comparative theory