I'm currently working in a development server and have certain conditions in my templates that rely on, say, entry_id. When I migrate the site to a production server, that entry_id is bound to change.
What's an effective approach to handling these environmental variables?