split off id expansion helpers