dynamically labeling each row with the parties id for ajax-ing