You can tell a lot about someone's ancestry from their name as well, but it would be pretty weird if Randall's profile looked like this:
Name: Randall Munroe
Ancestry: Scottish[1]
And that was it. Even though it's kind of obvious, it's encouraging people to think about it, and calling attention to any stereotypes people might have about Scottish people. This is probably not so bad for Scots, but there are a number of ethnicities that carry serious social baggage, and they may prefer not to be called to attention.Of course, I don't need to know Mr. Munroe's ancestry to refer to him using pronouns in most languages. Getting that information from a name is also much less reliable. It's obviously not quite the same. I think it does highlight the issue pretty well, though.
[1] Which I am inferring from his last name; I have no idea about his actual ancestry.