Who Is a “Criminal”?

Someone categorized as “a criminal” is likely to experience social ostracism, unlike people who break laws not associated with the word “criminal.” But we don't call every single person who does a technically criminal act a “criminal.” So when is it appropriate to apply the label "criminal" to someone who breaks the law?