Revert "Allow dashes and underscores in dev names."

This reverts commit a1724549f42fa6a44c58bb1afbb5ad70fd817ec7.