Thanks how do you report player when name isn't in the chat box?
Hit the F1 key (default) or naviagte to the help page from your task bar then click on the icon that looks like a person with a head-set on (far left icon).
That will bring you to the "Ask For Help" page where you have the option to 'report player'. the rest should be pretty self-explanatory.
@zhevon Also if a gold seller/spammer sends you a guild invite, before hitting "X" to decline it you can report them and ignore them by going to your Notifications page by hitting the "N" key (default) or navigate to the notifications page from your task bar.
Once there you will see the guild invite on the list with a checkmark and a letter "X"at the end. If you left click on the 'X' it will bring up a dropdown list with the options to decline, ignore and report player.
I usually report player first, then ignore and finally decline which will remove it from the notifications list.