I think you are looking for something more like this :
$(".menu-item a").each(function(){
var title = $(this).attr('title');
$(this).find("i").addClass("fa-" + title);
});
This will loop through each a
and get its own title. It will then add the class to his descendant.