code: function(value) { // 6.2.7
              var gender = {};
              var parts = value.split(';');
              switch(parts[0]) {
              case 'M':
                  gender.sex = 'male';
                  break;
              case 'F':
                  gender.sex = 'female';
                  break;
              case 'O':
                  gender.sex = 'other';
              }
              if(parts[1]) {
                  gender.identity = parts[1];
              }
              return gender;
          }
docs: The representation of gender for hCards (and hence their JSON
  representation) is undefined, as hCard is based on RFC 2436, which
  doesn't define the GENDER attribute.
  This method uses a compound representation.
  
  Examples:
  "GENDER:M"              -> {"sex":"male"}
  "GENDER:M;man"          -> {"sex":"male","identity":"man"}
  "GENDER:F;girl"         -> {"sex":"female","identity":"girl"}
  "GENDER:M;girl"         -> {"sex":"male","identity":"girl"}
  "GENDER:F;boy"          -> {"sex":"female","identity":"boy"}
  "GENDER:N;woman"        -> {"identity":"woman"}
  "GENDER:O;potted plant" -> {"sex":"other","identity":"potted plant"}