Question: how do you change your pokemon's name in sun and moon?
Answer: Inside the Bureau there's a guy in a bright blue shirt with some markings on it. He's on the right side of the building. Chat to him and he'll introduce himself to you as the name rater. He'll rate your Pokemon's nicknames and allow you to give them new ones if you so wish.