add an example to get by id

thanks for this gem!