Getting taxonomy name from post id

global $post;
$id=$post->ID;
$term_list = wp_get_post_terms($id,’writer’);   // Taxonomy name  here, we use “writer”
print_r($term_list);