Convert spaces to hyphens when generating client app ID