Getting Asset FolderId
You can always check the craft_assetfolders table in the database, find the folder name you're looking for and grab its id.

And it's probably just a typo in your original code, you're setting the folder ID to a variable named folder_id, but you're passing id into .folderId(id).