string lookup for type case-insensitive

Fix for #19