Support chained method call in attribute spec

The "pattern" variables may now contain chained method calls, separated by period (.)