To Make Code Portable We can create a constants library file like below and add internal ids in objects for different environments.