The ID attribute should only be stripped from the helper when the helper mode is 'clone', not when a factory method is used to produce the helper.