'Initialize a Movie, Person, Character or Company object.
*myID* -- your personal identifier for this object.
*data* -- a dictionary used to initialize the object.
*notes* -- notes for the person referred in the currentRole
attribute; e.g.: \'(voice)\' or the alias used in the
movie credits.
*accessSystem* -- a string representing the data access system used.
*currentRole* -- a Character instance representing the current role
or duty of a person in this movie, or a Person
object representing the actor/actress who played
a given character in a Movie.  If a string is
passed, an object is automatically build.
*roleID* -- if available, the characterID/personID of the currentRole
object.
*roleIsPerson* -- when False (default) the currentRole is assumed
to be a Character object, otherwise a Person.
*titlesRefs* -- a dictionary with references to movies.
*namesRefs* -- a dictionary with references to persons.
*charactersRefs* -- a dictionary with references to characters.
*modFunct* -- function called returning text fields.'

def __init__(self, myID=None, data=None, notes=u'', currentRole=u'', roleID=None, roleIsPerson=False, accessSystem=None, titlesRefs=None, namesRefs=None, charactersRefs=None, modFunct=None, *args, **kwds):

    self.reset()
    self.accessSystem = accessSystem
    self.myID = myID
    if (data is None):
        data = {}
    self.set_data(data, override=1)
    self.notes = notes
    if (titlesRefs is None):
        titlesRefs = {}
    self.update_titlesRefs(titlesRefs)
    if (namesRefs is None):
        namesRefs = {}
    self.update_namesRefs(namesRefs)
    if (charactersRefs is None):
        charactersRefs = {}
    self.update_charactersRefs(charactersRefs)
    self.set_mod_funct(modFunct)
    self.keys_tomodify = {}
    for item in self.keys_tomodify_list:
        self.keys_tomodify[item] = None
    self._roleIsPerson = roleIsPerson
    if (not roleIsPerson):
        from imdb.Character import Character
        self._roleClass = Character
    else:
        from imdb.Person import Person
        self._roleClass = Person
    self.currentRole = currentRole
    if roleID:
        self.roleID = roleID
    self._init(*args, **kwds)
