ID of components is now suggested by looking at application's config path

Unfortunately we only load the application states array when we navigate to the app states page, so the list will be empty if a user directly loads the config page.