Can anyone explain why the ID of the div is modified?
Because the -hidden variant is styled "display: none".