update checkPositiveInteger to checkIDParameter