Makes component names static for component classes

That way, every component of the same class have the same string as name
instead of different strings (same text, different memory).