generate taiwanese id and valid it.