Comparing attribute-based and memory-based preferential choice