Initializes the component object. $name is the component name that could be defined using name parameter in the template. However, you do not have to pay attention to it.