Support id based repo endpoints

Add support for using repository IDs instead of `:owner/:name` for relevant methods.

cc: @bryanbraun Mind giving this a try?