Text this: Variables associated with psychological distress and functioning of people with chronic pain.