Fix knock on consequences of id changes on compiler.

Add lifecycle state mappings to profile file.