Edit specific menu items in template
Menu attributes module is for what you want. Some details from its project page:


  This simple module allows you to specify some additional attributes
  for menu items such as id, name, class, style, and rel.