def get_post_id(dict_elem):
    """
    Returns the key property of the attribute dict i.e. the post id
    :param dict_elem: dict with parsed XML attributes
    :return: key element, i.e. the post id
    """
    return int(dict_elem['PostId'])