def post_id_to_pre(post_id, conv_s=False):
    """
    Convert a synset id of the format 88888888-n to n88888888
    """
    pos = post_id[-1]
    if conv_s and pos == "s":
        pos = "a"
    return "{}{}".format(pos, post_id[:-2])