Allow all valid HTML 5 characters for the "id" attribute

I'm developing in asp.net using Razor pages. Bootstrap Studio is great for designing my forms, etc., but I'd like to be able to include my Razor variables in BS. Razor variables are prefixed with the @ symbol. I can do that for name attributes and as text, but not for "id" attribute. It appears that you are only allowing alphanumeric, the underscore, and the dash characters. For example, if for the attribute "id" I enter "@Model.Field1.Field2", BS discards it. I believe HTML5 allows all valid characters except space. I think it would be great if Bootstrap Studio did, too.