lib: Replace use of "base" with "parent"

From the documentation of "base":

"""
Unless you are using the fields pragma, consider this module
discouraged in favor of the lighter-weight parent.
"""

Signed-off-by: Niels Thykier <niels@thykier.net>