If you've transferred money to someone online and entered a name, that was for your reference, not the bank's, and you could have written anything there. However if someone goes to a branch in person to deposit money into your account (which some people prefer to do for the anonymity), it's likely that they'll be given your first initial and last name.