fixed id mismatch in SC. added a unique check for ids in xsd.