Generates unique file id.