pub fn safe_directory_identifier(identifier: &str) -> String
Normalizes a custom data identifier for use in directory paths. Replaces // with /, and filters out empty segments and .. to prevent path traversal.
//
/
..