Move getIdString to Utils class