The Ideological Foundations of a Secular State