Added length() function to query length of referenced array
Replace @ID column with @THIS to simplify joins and allow referencing current object
Add temporary workaround for handling of trailing comments