add checking for anonymous id in options
Merge pull request #397 from segmentio/add/anonymous-id

add checking for anonymous id in options