The similarity between the names "the United Federation of Planets" and "the United States of America" has only recently occurred to me. Was the similarity deliberate? It makes allegory a bit more... obvious, I suppose.
And I suppose this also relates to how Americanised the whole of Earth was. Something that is often understated as American viewers necessarily can't really have an objective view of it.