string lookup for type case-insensitive