Class consciousness is an interesting term. Not too long ago, people were trying to figure out what it would mean in practice to build a society based on that. It turned out that the answer was in class interests. In particular, whether it would be in someone's interests to support communist revolution and the subsequent abolition of private property.
The eventual conclusion was that the interests of the upper middle class did not align with those of the working class. Anyone with substantial non-labor income, such as a small business owner with permanent employees or a professional with enough wealth to have a rental property or other investments of similar value, would not want to have their wealth taken away. That made them class enemies of the working class.
It can be instructive to read what happened to kulaks (wealthy independent peasants) in the early USSR.
The eventual conclusion was that the interests of the upper middle class did not align with those of the working class. Anyone with substantial non-labor income, such as a small business owner with permanent employees or a professional with enough wealth to have a rental property or other investments of similar value, would not want to have their wealth taken away. That made them class enemies of the working class.
It can be instructive to read what happened to kulaks (wealthy independent peasants) in the early USSR.