Issue #2354389 follow-up: Not all plugins have identifiers, also drupal_valid_path is too strict for our needs here