Title II Of the Court of Magistrates
Sub-title II Of the Court of Magistrates as Court of Criminal Inquiry
391. (1) The witnesses shall be examined by the court. The name and surname of the witness, the name of his father and, if the witness is a person to whom article 3 of the Identity Card Act applies, the number, if known to the witness, of his identity card
issued under the said Act, as well as the place of birth and abode of the witness and the language in which he shall have deposed, shall be noted down at the head of every deposition:
Provided that the court may, in exceptional circumstances and to provide for the safety of the witness, omit the above particulars, other than the name and surname of the witness and the language in which he shall have deposed, making a note to that effect in the record of the proceedings.
National judicial procedures protecting witnesses from identification – witness protection
EDIT.