Replaced location IDs with CSS to make tests flexible

Slugifying the prod Demo course broke some tests that relied on
specific problem IDs. Changing these IDs to CSS lets the tests work on
both prod and stage.
Will this still work without `fieldset`?