In determining the amount of civil penalties to be assessed under this section, consideration shall be given to any history of prior violations of this subtitle by the person, the ability of the person to pay the penalty, the seriousness of the violation, and such other matters as fairness may require.