Fix crash when a syntax identifier is provided