HasAttribute helper func in IComponent.cpp: perform case-insensitive string comparison.