Category Formation and the History of Religions