Sentence:  Such identification comes for each group in each crisis by rewriting history into legend and <WSD>developing</WSD> appropriate national heroes . 
Meaning of the word marked with <WSD> tags:  work out