A Belfast solicitor has obtained a High Court order which compels social media platform X to reveal the identity behind an anonymous account holder who allegedly defamed him.