Rename attribute_used to av_used and move it to attributes.h