get app id from name

We need the app id (e.g. 'crazy-horse') to determine which data volume
container to associate with the app container.