Any number of persons claiming liens may join in the same action, and when separate actions are commenced, the court may consolidate them. A prevailing party in a dispute arising out of or relating to a lien action is entitled to recover from the other party the reasonable attorney fees, costs and expenses incurred by the prevailing party.
NMS § 48-2-14