pub fn generate_task_id(task_type: &TaskType) -> String
Generate a unique task ID for a given task type