A PHP class for validation and generation of EGN (personal identification numbers for Bulgarian citizens)