Fixed generation of title from attribute label