alex-tiesto,
<!DOCTYPE html>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
<style type="text/css">
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script>
$(function() {
$('[name="radio"]').each(function(indx, el){
$(this).next().attr("for" , "radio"+indx)
this.id = "radio"+indx
});
});
</script>
</head>
<body>
<input type="radio" id="radio" name="radio" />
<label for="radio">1</label>
<input type="radio" id="radio" name="radio" />
<label for="radio">2</label>
</body>
</html>