Unlike other roles, Discord unique identifiers are actually 64 bit snowflake ID's. They can be accessed by going in User Settings > Advanced, and turning Developer Mode on. Activated, contextual menus show an 'Copy ID' option for users, messages, channels and guilds.