public final Application getApplication() {
        return app;
    }
Sets the unique ID of this app state.  Note: that setting
 this while an app state is attached to the state manager will
 have no effect on ID-based lookups.

@param id the desired ID
jme3-core/src/main/java/com/jme3/app/state/BaseAppState.java