(#1375) - throw error if id isn't string