Text Field Attributes it's a module that creates new field type with the possibility to add attributes like id and class.

Supporting organizations: 

Project information

Releases