You have to use the \N[ID] command, replacing ID with the character's number in the database. For example:
"Hi, \N[1]!" would display as "Hi, Ralph!" if no changes were made to his name.
To allow the player to change the name of a character, use the "Input Name Processing" command.