Well-socialized dogs do not attack anyone. Uneducated dogs of incompetent owners usually attack individuals of the same sex, complete idiots attack first and only then find out who they are. And it doesn't matter if the dog attacks out of fear, uncertainty or dominance, aggression, etc. Such an unruly individual should undergo professional re-education and should only go to the leash and event. with muzzle.