<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def component_title(component):
 """ Label, title and caption Title is the label text plus the title text Title may contain italic tag, etc. """


    title = u''

    label_text = u''
    title_text = u''
    if component.get('label'):
        label_text = component.get('label')

    if component.get('title'):
        title_text = component.get('title')

    title = unicode_value(label_text)
    if label_text != '' and title_text != '':
        title += ' '
    title += unicode_value(title_text)

    if component.get('type') == 'abstract' and title == '':
        title = 'Abstract'

    return title