I was able to solve this issue by using BOOST_MULTI_INDEX_MEMBER like this:
typedef multi_index_container<list_entry,
indexed_by<
ordered_unique< tag<int>, BOOST_MULTI_INDEX_MEMBER(list_entry, int, id)>,
ordered_unique< tag<string>, BOOST_MULTI_INDEX_MEMBER(list_entry, string, name)>,
ordered_non_unique< tag<string*>, BOOST_MULTI_INDEX_MEMBER(list_entry, string*, data)>
>
>table;