To discover an alignment, the easiest way is to observe a fellow character over time.
Then there is the shortcut of Detect Thoughts, Know Alignment, or questioning under Detect Lie.
Besides, alignment is too subjective. A person that the majority in society deems to be evil, could be good in...