From the BBC News website:
Peers have backed plans to give anonymity to people accused of rape and inflicted a defeat on the government.
In the course of a House of Lords debate the case of television presenter Matthew Kelly was raised.
He was questioned over child sex abuse offences but following a police investigation it was found there was no case for the entertainer to answer.
But Mr Kelly had come under intense media scrutiny as the complaint was investigated.
Monday's vote came after peers had been debating the government's far-reaching attempt to reform sexual offences legislation.
They voted by 109 to 105 in favour of allowing people accused of rape to keep their anonymity.
Under current laws the complainant is entitled to anonymity but it has been possible to name the accused since 1988.
The Home Office said the government would seek to overturn the Lords defeat which, a spokesman pointed out, was only by four votes.
"We appreciate the very great distress that is often experienced by those wrongly accused or charged with a sexual offence after having been publicly identified," said the spokesman.
"However the criminal justice system operates on a principle of openness which is a vital ingredient in maintaining public confidence and encouraging witnesses to come forward.
"We do not believe there is any justification for those charged with sexual offences to be singled out for special protection while other defendants including those accused of murder could be identified."
In the Lords, Home Office Minister Lord Falconer said that granting anonymity to people accused of rape would put off some women from approaching the police with their complaint.
But former lord justice of appeal Lord Ackner insisted it was right that defendants should be given the same right to anonymity as complainants.
He cited the case of a GP who was arrested in front of his family but subsequently had all charges against him dropped.
The lack of anonymity could be extremely damaging to a man's reputation, said Lord Ackner.
And all that was left was hope