Added @theskumar get_ident from https://gist.github.com/theskumar/ff8de60ff6a33bdacaa8