Hi Ekzarov,
You have discovered an awful thing indeed. SharePoint 2007 removes this awful thing by using names. In the meantime, we have some tools to migrate or you can manually do it. This is one of the pains of forms migration in SharePoint 2003. If possible, use relative paths or a config so you don't have to hardcode the list GUIDs.
Patrick Halstead
Project Manager at Qdabra