There are 2 locations where you can find your farm ID.
1) On the loading screen
2) In gameTo access your farm ID in game, follow the steps below.
Tap on the blue cog located in the bottom right corner of your screen
Your farm ID is located at the bottom of the Settings menu, under the language option