Sentence:  The individualism and public service of the private detective both stem from his <WSD>dedication</WSD> to a personal code of conduct : he enforces the law without being told to do so . 
Meaning of the word marked with <WSD> tags:  complete and wholehearted fidelity