BC fix for checkbox ids

Revert to previous behavior for id generation of checkboxes, This can be reverted for 2.5+ is desired

Fixes #2733