[4.2] Session : remove duplicate id check

As `setId` function already does this check