The Italians have an interesting method of assuring child safety in a situation like the Palio.
Look closely at this photo.
There is a long cord/rope around the group of children wearing red which prevents any of them from getting lost in the crowd! Pretty clever!