fn name_of(state: &AppState, id: &str) -> String
The name of agent id, or its id when it has none on record.
id