Weird undefined index: id,std notices. How to fix it?

First: Write false === get_option( 'whatever' );see Coding Standards.

Second: Why do you have a variable-variable in there? $$value['id'] = $value['std'];.