In Thailand, babies are given a short nickname as well as their normal name. It is believed to confuse ghosts and bad spirits.
This nickname is also very useful because it is easier to remember. Especially for foreigners who can't remember Thai names.