Discern Shapechanger(Spell Compendium, p. 66)
Level: Sorcerer 2, Wizard 2, Spellthief 2,
Components: V, S, M,
Casting Time: 1 round
Duration: 1 round/level
The smell of wet animal dander assaults your nose even as the perfume of the material component fades. You feel suddenly more suspicious of beings around you, as if some of them might not be what they seem.
By taking a standard action to concentrate, you can see the true form of creatures within 60 feet. Each round, you can examine one creature you can see to determine whether it is polymorphed, disguised, or transmuted, and what its true form is. If you look at a shapechanger in its true form, you immediately sense its shapechanging ability, but you can't determine what other forms it might be capable of assuming.
For the purpose of this spell, a shapechanger is any creature with the shapechanger type or a supernatural or extraordinary ability that allows it to assume an alternate form. A wizard who knows alter self is not a shapechanger (since a spell is not a supernatural or extraordinary ability), but a barghest is (since it has the supernatural ability to assume alternate forms, even though its type is outsider).
Material Component: A balm of honey and lotus flower costing 25 gp, smeared on your eyelids.