Navigate to the People module and select the user in question.

You can find the user’s ID in the lower right corner, displayed in blue with a hash symbol in front of it. This ID cannot be changed. It is assigned more or less randomly by the system and does not follow any pattern that is visible to the user.
