Expose commonName as an attribute