generate new factor ID