The ideological root of shaming? It doesn't have a political or religious bias: it's practiced in every kind of culture, back to the the vulpine and simian. It's a less extreme version of exile or ostracism; depriving a wrong-doer of the benefits of social status and support, temporarily or permanently, depending on the severity of the infraction.
It is the punishment for non-conformity in all kinds of systems.
To be fair there are good and bad aspects to every ideology I just happened to want to move to a post ideology world.
It's not clear to me that altruism and the sexual revolution, demonization of individuals and liberalism all belong in the same ideological basket - and if so, how.
Nor can I see how a post-ideological world, how nation-states without constitutions, corporations without a mission statement, or communities of any size without a consistent moral basis for their laws and customs, would work. Not saying they couldn't, just that i don't see how.