added IdGenerator

IdGenerator creates random identities with data read from local files.