Renaming component name to id