Thinktank director will advise Labour on social care talks