"true" 'first' 'last' classes in menus
I am not sure that i fully understood what you want; but if what you need is to give special attributes(ID, class etc.) to menu items, Menu attributes module may help. You also could use CSS3 :nth-child() selector.