Add entity ID to old configuration

Hey i used to use hassbian , as it is not maintained anymore , I started moving to raspbian lite with manual installation,

  1. Is there a way to add automatically ID to every entity that was done?
  2. Is there a way to add manually ?
  3. in case i want to fully move to lovelace does it mean old YAML files are not relevant anymore?