Moved Assign{String/Numeric}Identities from private to protected in CFG_CNF so that subclasses can use them. Added edge-case tests for PCFG decoding