Achieving good‐quality consent: review of literature, case law and guidance