How to get the ID of every object in a class on an each loop?

How to get the ID of every object in a class on an each loop?

I have an each loop that goes through all the elements in a certain class.  What I need to do is get the ID of the current element in the each loop, but I can't seem to figure out how to. var currentID = $(this).attr("id"); was my first assumption, but it's not working.

My current code basically looks like this:
  1. $(".Clone").each(function(){
  2.         var currentID= $(this).attr("id");
  3.         $(currentID).find(".CloneButton").focus(function(){
  4.                  $(currentID).css("background-color","yellow");
  5.          });
  6. });

The css is just for debugging, not the goal, so alternate ways for me to do that won't help, sorry. Anyone who could give me some tips on what I'm doing wrong I'd greatly appreciate!