adding a mixin method for parsing names