I'm sorry, I couldn't resist:
var result = $('#target').text();
$('#' + result).css({'background' : 'black', 'color' : 'white'}).text('me');