Changed the utils get id function.