Hacker News new | ask | show | jobs
by harryh 5718 days ago
View source on your profile page and search for profile.php?id=

Right after that will be your id.

(There are other ways as well, but this is a pretty easy way)