What is another custom number or word for block, other than block id?

I want to display several sliders on one page, and for JS settings I need to print some unique value for each block. Can’t use block id in this case, as need something without “-”

There is nothing, but you could remove the dashes from the id?

I see. Also thought about removing the dashed, probably the only solution in this case.

Yes, works fine, thanks!

For all those who are looking for a solution:
The following simple code works for me:

<?= str_replace("-", "", $block->id()) ?>

The output looks like this:

I also need the ID for a (Swiper) Slider that I use for multiple instances on a page.