Fix # escape dots in ids