I'm a Year 5 teacher and I let my kids go during lessons if they really need it - you can pretty much always tell when they're desperate. They know not to take the piss (scuse the pun!). You can tell them they should go during breaks till the cows come home but they're kids, half the time...