Optimized and cleaner access to identifier and attributes