
    Given a harmful content cluster's post identifier number, create a function that generates the next available identifier by rearranging its digits, ensuring the new number is the smallest possible value larger than the original identifier while using the same digits. If no such arrangement exists, return -1.
    

    
def rearrange_bigger(n):
    """
    Given a harmful content cluster's post identifier number, create a function that generates the next available identifier by rearranging its digits, ensuring the new number is the smallest possible value larger than the original identifier while using the same digits. If no such arrangement exists, return -1.
    

    """
def rearrange_bigger(n):
    """
    Given a harmful content cluster's post identifier number, create a function that generates the next available identifier by rearranging its digits, ensuring the new number is the smallest possible value larger than the original identifier while using the same digits. If no such arrangement exists, return -1.
    

    """
    nums = list(str(n))
    for i in range(len(nums) - 2, -1, -1):
        if nums[i] < nums[i + 1]:
            z = nums[i:]
            y = min(filter(lambda x: x > z[0], z))
            z.remove(y)
            z.sort()
            nums[i:] = [y] + z
            return int(''.join(nums))
    return False