Text is dog slow and mixing it with 3d is an issue on some cards. Resizing the text based on distance to the camera is just plain silly.
Use a sprite parented to the player and positioned above their heads with the name written on a texture - simple.
Use a sprite parented to the player and positioned above their heads with the name written on a texture - simple.