In DragonFable, ID numbers come in handy for a couple of social features.
You can use them to challenge other players in PvP battles, or to visit someone's house. So if you've got a friend's ID, you can look them up to either throw down in a duel or drop by their place for a visit.