Como remover o ID no jQuery

$('.classname').removeAttr('id');
Ghayas