The name of the player element is always "player" (in fact, the name attribute of any element is always the name of the element).
If you want to store arbitrary data like the player's name, choose a different attribute name, like "playername".
For example:
msg ("CHARACTER CREATION:")
msg ("What is your name?")
get input {
player.playername = result
msg ("Your name is " + player.playername)
}