Fixed a code error which caused standard frames to not be given the proper ID.

Updated examples to use the new, slightly different call for setting id.