I use the HTML Helpers to render my fields:
<%=Html.EditorFor(m => m.User.Surname)%>
and the output would be something like this:<
ASP.NET MVC 4 has Html.IdFor() built in that can return this:
@Html.IdFor(m => m.User.Surname)