generate id list