handle two-element comment ids as well as three-element