module FFaker::IdentificationPL

def pesel

https://en.wikipedia.org/wiki/PESEL
Polish national identification number
def pesel
  date = generate_valid_pesel_date
  birthdate = pesel_birthdate(date)
  serial_number = FFaker.numerify('####')
  checksum = pesel_checksum(birthdate, serial_number)
  "#{birthdate}#{serial_number}#{checksum}"
end