Adds support for dash in UIs' ID. Fixes #1