What epistemic value does "similar rhetoric" have? The relevant question is whether something is true and/or defensible. Identity does matter, to some nations and historical contexts more than others. It is silly to project the particulars of the US historical context to the rest of the world.
That doesn't answer the question. Identity does matter. Because Nazi Germany came to the wrong conclusion does not invalidate every premise used in their justification.