Many names seem to get a "-y" or "-ie" at the end when the speaker wishes to denote a hint of familiarity, intimacy, or tenderness. Examples can be seen not just in names, but in terms like puppy, kitty. Close friends of Robert might call him Bobby, whereas, if you think about it, it's hard to imagine Bobby used in a more formal setting.
What is the origin of this practice?