Attorney General may ‘take action’ if anonymity orders are broken