How can I change my extension method in C#
<p>I started to use this extension that I found on the web:</p>

<pre><code>public static class NewLabelExtensions
    {
        public static MvcHtmlString LabelFor&lt;TModel, TValue&gt;(this HtmlHelper&lt;TModel&gt; html, Expression&lt;Func&lt;TModel, TValue&gt;&gt; expression, object htmlAttributes)
        {
            return LabelFor(html, expression, new RouteValueDictionary(htmlAttributes));
        }
        public static MvcHtmlString LabelFor&lt;TModel, TValue&gt;(this HtmlHelper&lt;TModel&gt; html, Expression&lt;Func&lt;TModel, TValue&gt;&gt; expression, IDictionary&lt;string, object&gt; htmlAttributes)
        {
            var metadata = ModelMetadata.FromLambdaExpression(expression, html.ViewData);
            var htmlFieldName = ExpressionHelper.GetExpressionText(expression);
            var labelText = metadata.DisplayName ?? metadata.PropertyName ?? htmlFieldName.Split('.').Last();
            if (String.IsNullOrEmpty(labelText))
            {
                return MvcHtmlString.Empty;
            }

            var tag = new TagBuilder("label");
            tag.MergeAttributes(htmlAttributes);
            tag.Attributes.Add("for", html.ViewContext.ViewData.TemplateInfo.GetFullHtmlFieldId(htmlFieldName));
            tag.SetInnerText(labelText);
            return MvcHtmlString.Create(tag.ToString(TagRenderMode.Normal));
        }
    } 
</code></pre>

<p>I use it like this: </p>

<pre><code>@Html.LabelFor(m =&gt; m.Login.RememberMe, new { @class = "adm" })
</code></pre>

<p>The result is like this:</p>

<pre><code>&lt;label class="adm" for="Login_RememberMe"&gt;Remember me?&lt;/label&gt;
</code></pre>

<p>However I would like to style this label. I don't really understand the code that I am using. Can anyone suggest a change to the code above that would make the LabelFor method generate?</p>

<pre><code>&lt;label class="adm" id="Login_RememberMe" for="Login_RememberMe"&gt;Remember me?&lt;/label&gt;
</code></pre>

<p>Thanks</p>
