Update for 4.02.
Support namespaced attributes, e.g. [@protobuf.key] (fixes #1).