The term is applied most often to regional speech patterns, but a dialect may also be defined by other factors, such as social class