given what happens in esther it is clear that the reference to haman as an agagite is meant to say that he is descended from or shares the ideas of the amalekites having it be his hometown or family name would be an irrelevant detail that plays no part in what happened