Not if the damaging affect is a special ability; only if it is a cast spell.However, there are odd things that it will do that make me think it was meant to reveal special abilities but just doesn't work right. For instance, ID Monster, at the appropriate level, will tell you that the coatls (winged serpents? I don't remember which of them does it) have an electrical attack. I never thought of this as a spell, particularly, but maybe it's meant to be. It will NOT tell you, however, that you have a chance to get poisoned by the same creatures.