Open User Settings
Activate Developer Mode
Open the Users profile
Click Copy ID
You now have the ID in your clipboard.
Make sure you click Copy ID on a Profile, not on a message, server, channel or else. Doing so will result in just getting information from the Generic Snowflake