refactor id split string