At the time of this post, the accepted solution includes double quotes, which may not be desirable. A workaround to solving the hyphen evaluating as a minus sign in a situation where the double quotes are not desired, append the string with the invisible character [U+200E]
as so:
stringId = `[U+200E]${id}`
This will give a string output instead of evaluating the interpreted expression.