Grave assign to players and getting their names

For my co-op horror game,I have made a grave system. It’s like,the spawned grave number will be equal to the connected players. And the graves will stay at the same location till the end of the game. So far so good. What I want to do is,I want each grave to belong each of the connected players. So each player will have a grave for themselves. How can I assign the graves to the players? Also I want to take the players’ steam names and write their names on the grave that belongs to them. Can anyone help me on that?