Best way to find a folderId I'm iterating through a folder using craft.assets, to select the folder I'll use the folderId.

What's the best way to find the folderId of a specific folder?

The only way I've found is to go the the Asset Settings page in the CP and hovering over a folder to see the url in the status bar in my browser.

Related Problem:

I created a folder in the CP Fields page (see image) and there seems no way to get this folderId as I cannot get to it in the Asset Settings page. As I only have a small number of folders I was able to figure it but it got me wondering if I was missing the obvious somewhere?

Thanks

John
You can find the id in the database in the craft_assetfolders table. Creating a field with uploads restricted to a single folder does not create an asset folder. The asset folder only gets created when you actually have an asset in that folder, so before that point there is no id.