fixed bug in utils::parseNextIdentifier