79
I think this is what you're looking for:
<%=Url.RequestContext.RouteData.Values["id"]%>
Adding it to the viewdata is the right thing to do. As for how to add it, you could always add a custom ActionFilter which grabs it from the route dictionary and pushes it into the viewdata.