What role in religion played in unifying and dividing societies of the Eastern Hemisphere?