Ok, so the best way is probably to make two separate methods with different names:
`getFolderContents($folderName)` and `getFolderContentsById($folderId)` and the first one resolves the id and calls the second one.