YANBU
My relatives are driving me mad with this at the moment, though luckily they live a distance away so the issue only crops up about 4 times a year. After always being cat families, most of my relatives now own dogs of a range of breeds.
Strangely enough, they waited until their children were of secondary school age before getting them. They insist on bringing them with them when we all get together at my mum's. I have a toddler. There are always promises that they'll be under control / kept on a lead / kept out of the sitting room, but within 10 mins they are tearing around the house, barely controlled or trained, with none of them wanting to watch them. I then get told I'm being over protective for snatching DS and his toys out of their way.
This started when DS was a baby. I wasn't able to let him wriggle on a mat as the bloody dogs were tearing everywhere.
I definitely think that midwives could include a talk about pets throughout pregnancy at the check ups, as well as at the discharge appointment (preferably with the partners present too). Perhaps even with pictures of a range of attacks from different breeds, including 'safe' ones.
Isn't microchipping becoming compulsory by this year? Maybe this could be linked to a licence element later on. Police could have a microchip scanner to check the dogs if they see, or are alerted to, a potentially dangerous dog situation. Dogs without could be seized until owners attended classes, or be rehomed or destroyed. It isn't the dogs' fault, but something needs to change the attitudes of owners.
Additionally, and wandering into the realms of fantasy here, the microchip could contain a record of that dog's DNA, so if poo is found on the pavement, a quick test would reveal the culprit and an instant fine issued to the owner. Non-payment resulting in dog seizure and a ban on animal ownership.