I have the following array
["Design", "Survey", "Geotech", "Community", "Progress", "Planning", "Commercial", "Logistics", "Milestones", "Environment", "Quality", "Safety"]
and I would like to convert into it the following format, would be nice if the ids were random or unique
data = [
{id: 1, title: 'Design'},
{id: 2, title: 'Survey'},
{id: 3, title: 'Geotech'},
{id: 4, title: 'Community'},
];
}