Get attribute by name