You can see your ID in your profile. It is the set of numbers (for example 49-8957-6014) under your username.
To find out your ID number, enter your profile and you will see your ID to the right of your avatar.
This number is unique for each player and it cannot be changed - only you can see it in your profile. You can share this number with your friend, so they can find you in the game.