code: def ssn(self):
          
          def _checksum(digits):
              evensum = sum(digits[:-1:2])
              oddsum = sum(digits[1::2])
              return (10 - ((evensum + oddsum * 3) % 10)) % 10
  
          digits = [7, 5, 6]
          # create an array of first 9 elements initialized randomly
          digits += self.generator.random.sample(range(10), 9)
          # determine the last digit to make it qualify the test
          digits.append(_checksum(digits))
          # repeat steps until it does qualify the test
  
          digits = ''.join([str(d) for d in digits])
          ssn = digits[:3] + '.' \
                           + digits[3:7] + '.' \
                           + digits[7:11] + '.' \
                           + digits[11:]
          return ssn
docs: Returns a 13 digits Swiss SSN named AHV (German) or
                                              AVS (French and Italian)
          See: http://www.bsv.admin.ch/themen/ahv/00011/02185/