Fixed ID issues for XML signature verification