Paul McCartney reveals ‘Pirates of the Caribbean’ character