Allow special meaning characters in panel-collapse id

Issue #13832 suggests escaping the selector, but this issue is fixed
much more cleanly with an attribute selector. Because bootstrap
documentation uses href's with hash links, this patch allows links
both with and without leading hash