Sex education to be compulsory in Irish schools