Add name attribute to Component class for ex1 in extending mantid course