Text this: The relationship between the purposes of the law and legal reasoning