Obama , an Illinois senator , has been intent on trying to unify the party ahead of the November election after a bitter , 16-month struggle between the candidates to become the Democratic standard-bearer .