Sentence:  By upholding his own personal code of behavior , the private detective has placed himself in opposition to a <WSD>society</WSD> whose fabric is permeated with crime and corruption . 
Meaning of the word marked with <WSD> tags:  an extended social group having a distinctive cultural and economic organization