A sociosemiotic interpretation of linguistic modality in legal settings