Recently I was searching for simple solution to notify bean about checkbox state change with additional info (unique id). There are some solutions but non in plain JSF 2.

Simple form with plain h:selectBooleanCheckbox:

and bean to handle ajax call

Now you have simple plain JSF 2 solution.