Tap your username at the top left of the screen. You will see a carousel with your picture, username, and ID. You can copy your ID by tapping on it