Add support for Darwin using id command

id -P on darwin produces a passwd like output