What does diagnosis of an infectious sometimes involve identifying?