pub fn validate_daemon_id(id: &str) -> Result<()>
Validates a daemon ID and returns a diagnostic error with context if invalid.