Doing it by color can be pretty unreliable.
Only way that I know of to lock kicking to a dynamic player name would be to force it to only work for a specific slot. If you only want a small group of players/admins to be able to kick, check for the right player name whenever the chat commands are used.
What you could do is just do it by player ID, and have a function to return the name of the player who's in a specific slot.
Basically one chat command is "-guid #" where # is the ID of the player you want to get the name of.
The other is "-kick #" where # is the ID of the player you want to get rid of.
OR, if you don't mind the wall of text, you could just have a "-guid" command that loops through all playing players and returns "[id] - [playername]" for each player. You can just "-kick #" after that.