id fixes for patterened specializations
cleaned up extraneous specializations and subelement specializations