Text this: General theory of secularization