add support for template in data_name attribute

Sometimes we use the html5 `data-name` attribute to communicate data between backend and frontend.
Rendering the template in the `data-name` attribute is a frequent case we met these days.

So I add it support for template rendering with the `data_name` in `Field` layout object.

Thx.