generate id for sub_controls with slug-slug for [attr|=value] compatibility purposes
items