It would make more sense to judge the parents who chose the name. I don't think I would, but to be honest I'm not sure which names are even supposed to be lower class. I hope I don't ever act that way and let my parents chose their friends based on their character rather than their names.
Its not right to judge a child by their name. However, I think we may often judge subconsciously. Really, people of a certain status often tend to assign particular names to their children. We may not want our children to associate with others of backgrounds that may predispose them to getting into trouble. You may be concerned if your children carried home friends named Shaniqua, Latoya, Laquisha, Sha'Quonda or Fa'Nay Nay. You will start to think about the home they are coming from.
So in some cases we do judge children by their names whether we want to believe so or not, especially if they talk, act or dress accoridngly.