Noun phrase #3 ("the unidentified men") does not occur in a pattern context, but it is deemed to be coreferent with "two armed men" because they have the same head noun.
we propagate the perpetrator label from noun phrase #1 to noun phrase #3.