Added select to ID generator