To change your character's name, build a mirror in your base (don't confuse it with a wardrobe!). Once this structure is completed, use it and click on the edit icon next to the nickname (PlayerXXXX). That will open next window in which the name can be changed.