Parser now returns EMPTY when parsing an empty string; empty string is returned when serialising EMPTY
Added error case for id predicate