Support case insensitive names. RT #84982
use lc for comapring.
add test cases.
Merge pull request #7 from jfearn/master

Support case insensitive names