How can a lawyer help protect a minor’s identity and legal rights in court