Add component name variable declaration to generated components