Applying GeneratedId monad