Simplify signed global id checking.
Simplify signed global id checking.

Spare expensive is_a? check and just always call to_s, since
to_s on a string just returns that string.

kaspth/globalid,rails/globalid