In any action, pleading or motion under this chapter, the Administrative Hearing Office, Panel or court hearing or reviewing the matter, may in its discretion, award attorneys' fees, costs and expenses to the respondent or defendant if an action was brought for an improper purpose, such as to harass or to cause unnecessary delay or needless increase in the cost of litigation.