Sentence:  To forestall any change of <WSD>allegiance</WSD> , the Democrats hastily organised a testimonial banquet for O ' Banion , as public reward for his past services and as a reminder of where his loyalties lay . 
Meaning of the word marked with <WSD> tags:  the act of binding yourself (intellectually or emotionally) to a course of action