To sign someone's name, you would typically:
1. Sign the person's name sign: If the person has a known sign name, you would use that.
2. Spell their name letter by letter: If they don't have a sign name, you would spell their name using the fingerspelling alphabet.
So to sign "Sam" in ASL, you would spell "S-A-M" using the fingerspelling alphabet.