agrgar atributo con id jquey

JavaScript
$('.tabs').attr('id', 'hola mundo.');
Source

Also in JavaScript: